<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/layout.css")" rel="stylesheet" type="text/css" />
    <link href="http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css" rel="stylesheet" type="text/css" />
    <link href="http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Scripts/Apprise/apprise.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Scripts/Tipsy/tipsy.css")" rel="stylesheet" type="text/css" />
    <link href='@Url.Content("~/Content/menu.css")' rel="stylesheet" type="text/css" />

    <script src="@Url.Content("~/Scripts/BindingInput.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/UpdateField.js")" type="text/javascript"></script>
    <script src="http://code.jquery.com/jquery-1.8.3.js" type="text/javascript"></script>
    <script src="http://code.jquery.com/ui/1.10.0/jquery-ui.js" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Apprise/apprise-1.5.full.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/BlockUI/jquery.blockUI.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Tipsy/tipsy.js")" type="text/javascript"></script>        
    <script src="@Url.Content("~/Scripts/Menu/menu.js")" type="text/javascript"></script>


    <script type="text/javascript">       
        function GetControllerUrl(action, controller)
        {
            var url = "@VirtualPathUtility.ToAbsolute("~/controller/action")";
            url = url.replace("action", action);
            url = url.replace("controller", controller);
            return url;
        }
        
        jQuery(function($) {
            $.datepicker.regional['es'] = {
                closeText: 'Cerrar',
                prevText: '&#x3c;Ant',
                nextText: 'Sig&#x3e;',
                currentText: 'Hoy',
                monthNames: ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio',
                            'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'],
                monthNamesShort: ['Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun',
                            'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic'],
                dayNames: ['Domingo', 'Lunes', 'Martes', 'Mi&eacute;rcoles', 'Jueves', 'Viernes', 'S&aacute;bado'],
                dayNamesShort: ['Dom', 'Lun', 'Mar', 'Mi&eacute;', 'Juv', 'Vie', 'S&aacute;b'],
                dayNamesMin: ['Do', 'Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'S&aacute;'],
                weekHeader: 'Sm',
                dateFormat: 'dd/mm/yy',
                firstDay: 1,
                isRTL: false,
                showMonthAfterYear: false,
                yearSuffix: ''
            };
            $.datepicker.setDefaults($.datepicker.regional['es']);
        }); 

    </script> 

</head>

<body>
    <div class="page">
        <div id="main">
            <table id="Data" cellspacing="0" cellpadding="0" border="0" align="center" style="width: 90%">
                <tr>
                    <td>
                        <table id="TableHeader" width="100%" border="0" cellpadding="0" cellspacing="0" valign="top">
                            <tr>
                                <td width="60%">
                                    <div class="HeaderLeft">                                       
                                        <h1> Gestion de Mantenimiento - SPSA</h1> <br />
                                    </div>
                                </td>
                                <td width="40%" align="right">
                                    <div class="HeaderRight">
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div id="header" style="vertical-align:top;">
                            <div id="title" style="display: none">
                                <h1>
                                    Gestion de Mantenimiento</h1>
                            </div>
                            <div id="menucontainer">
                                @Html.Partial("Menu")                           
                            </div>                           
                        </div>
                        @RenderBody()
                    </td>
                </tr>
            </table>
            <div id="footer">
            </div>
        </div>
    </div>
</body>
</html>
